__global__ void matrixMultiply(float* A, float* B, float* C, int m, int n, int k) {
    int i = blockIdx.x * blockDim.x + threadIdx.x;

    int j = blockIdx.y * blockDim.y + threadIdx.y;
    if (i < m && j < n) {
        C[i * n + j] = 0;
        for (int l = 0; l < k; l++) {
            C[i * n + j] += A[i * k + l] * B[l * n + j];
        }
    }
}
